<?php

namespace sample\controller\fb;

use pmvc\mvc\security\AuthenticationListener;
use pmvc\mvc\security\User;
use pmvc\mvc\Request;
use pmvc\mvc\Response;

class SampleAuthenticationListener
	implements AuthenticationListener {

	public function onLogin(Request $request, Response $response, User $user) {
		\pmvc\log\Log::debug("onLogin");
	}

	public function onLogout(Request $request, Response $response, User $user) {
		\pmvc\log\Log::debug("onLogout");
	}

	public function onLoginFailed(Request $request, Response $response) {
		\pmvc\log\Log::debug("onLoginFailed");
	}
}

?>